package iedcyt.acute.controller.listeners.signComparison;

import iedcyt.acute.model.SignComparisonModel;
import iedcyt.acute.view.SignComparisionView;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Listener;

public class Corps2SelectionListener implements Listener {

	private SignComparisonModel _model;
	private SignComparisionView _view;
	
	public Corps2SelectionListener(SignComparisionView view, SignComparisonModel model) {
		this._model = model;
		this._view = view;
	}
	
	public void handleEvent(Event event) {
		Integer idCorp = _view.getSelectedCorp2ID();
		_model.setSelected_sign2IdCorp(idCorp);
	}
}
